package cn.com.qtgl.apis.builtin.model.vo.tenant_preference;

import cn.melonlib.cores.commons.model.entity.ApiEntity;
import cn.melonlib.cores.model.anno.ModelComment;
import lombok.Data;

import java.util.List;

@Data
@ModelComment("配置项")
public class PreferenceItem implements ApiEntity {
    @ModelComment("配置名称")
    private String name;
    @ModelComment("配置说明")
    private String text;
    @ModelComment("配置类型")
    private String type;
    @ModelComment("配置字符串值")
    private String valueString;
    @ModelComment("整数数值")
    private Integer valueInt;

    @ModelComment("浮点数数值")
    private Double valueFloat;
    @ModelComment("布尔值")
    private Boolean valueBoolean;
    @ModelComment("多项字符串列表")
    private List<String> valueStrings;

    @ModelComment("是否多组")
    private Boolean multiTenancy;
}
